﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StyleMVVM.Data;
using StyleMVVM.Validation;

namespace StyleMVVM.UnitTests.TestClasses.ValidationObjects
{
	public class NestedAttributeValidationObject : NotifyObject
	{
		private SimpleValidationObject simpleValidationObject;

		[Required]
		[ValidateProperty]
		public SimpleValidationObject SimpleValidationObject
		{
			get { return simpleValidationObject; }
			set { SetProperty(ref simpleValidationObject, value); }
		}
	}
}